nixos-option: move shellcheck validation to passthru.tests.shellcheck#372722
nixos-option: move shellcheck validation to passthru.tests.shellcheck#372722Mic92 merged 1 commit intoNixOS:masterfrom
Conversation
7bcd2c3 to
0bf4ce2
Compare
|
huh, almost feels like there should be a shellcheck hook or something that does this logic automatically. Oh well; probably not worth bothering over. |
There was a problem hiding this comment.
tryEval is evil, can we consider not doing this if possible? e.g. ensuring that the ghc/shellcheck is marked unavailable as appropriate?
There was a problem hiding this comment.
Unfortunately this is the only way it works, see #231537 (comment)
|
@misuzu it would be useful if we would not need ghc as a build dependency in general to build nixos-option. |
Fixes evaluation for riscv64-linux.
0bf4ce2 to
7f3a5d0
Compare
Done |
|
Fixes eval for riscv64-linux, see #369151 (comment)
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.